keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

Trixbox2.8.0.4 with Openvox G400P and A400P

13 years 1 month ago #6746 by lisa.gao
Hi,For your question 1:You can configure context=from-pstn in extra-channels.conf, maybe it's easier.
Question 2:Asterisk will take time to execute your outbound select case. If possible, please paste the complete log till the called phone begin ringing.

Question 3:Sorry, can't play the voice and dial out simutaneously.

i] Last edited by lisa.gao at 2011-3-14 14:34 [/i

13 years 1 month ago #6749 by micpet
I will try this tomorrow.

Question 1

; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=12
;context=from-gsm
context=from-pstn
signalling = gsm
;pin=1234
channel => 5
context = default
group = 63

; Span 3: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=13
;context=from-gsm
context=from-pstn
signalling = gsm
;pin=1234
channel => 7
context = default
group = 63

Log for dial out Question 2

[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP RTP TOS bits 184
[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP RTP CoS mark 5
[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP VRTP TOS bits 136
[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP VRTP CoS mark 6
[Mar 11 17:31:01] DEBUG[4146] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:1] Macro("SIP/201-000001dc", "user-callerid,SKIPTTL,") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/201-000001dc", "AMPUSER=201") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/201-000001dc", "0?report") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/201-000001dc", "1?Set(REALCALLERIDNUM=201)") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/201-000001dc", "AMPUSER=201") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/201-000001dc", "AMPUSERCIDNAME=Josephine Dublin") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/201-000001dc", "0?report") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/201-000001dc", "AMPUSERCID=201") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:8] Set("SIP/201-000001dc", "CALLERID(all)="Josephine Dublin" <201>") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/201-000001dc", "0?Set(CHANNEL(language)=)") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/201-000001dc", "1?continue") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Goto (macro-user-callerid,s,19)
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/201-000001dc", "Using CallerID "Josephine Dublin" <201>") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:2] Set("SIP/201-000001dc", "_NODEST=") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:3] Macro("SIP/201-000001dc", "record-enable,201,OUT,") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/201-000001dc", "1?check") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Goto (macro-record-enable,s,4)
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/201-000001dc", "recordingcheck,20110311-173101,1299879061.623") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Mar 11 17:31:02] VERBOSE[7302] logger.c: recordingcheck,20110311-173101,1299879061.623: Outbound recording not enabled
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- <SIP/201-000001dc>AGI Script recordingcheck completed, returning 0
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:4] Macro("SIP/201-000001dc", "dialout-trunk,2,2258402,,") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/201-000001dc", "DIAL_TRUNK=2") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/201-000001dc", "0?sub-pincheck,s,1") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/201-000001dc", "0?disabletrunk,1") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/201-000001dc", "DIAL_NUMBER=2258402") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/201-000001dc", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/201-000001dc", "OUTBOUND_GROUP=OUT_2") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/201-000001dc", "0?nomax") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/201-000001dc", "0?chanfull") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/201-000001dc", "0?skipoutcid") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/201-000001dc", "DIAL_TRUNK_OPTIONS=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/201-000001dc", "outbound-callerid,2") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/201-000001dc", "0?Set(CALLERPRES()=)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/201-000001dc", "0?Set(REALCALLERIDNUM=201)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/201-000001dc", "1?normcid") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-outbound-callerid,s,6)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/201-000001dc", "USEROUTCID=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/201-000001dc", "EMERGENCYCID=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/201-000001dc", "TRUNKOUTCID="CHS" <7676162916>") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/201-000001dc", "1?trunkcid") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-outbound-callerid,s,12)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/201-000001dc", "1?Set(CALLERID(all)="CHS" <7676162916>)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/201-000001dc", "0?Set(CALLERID(all)=)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/201-000001dc", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/201-000001dc", "0?AGI(fixlocalprefix)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/201-000001dc", "OUTNUM=2258402") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/201-000001dc", "custom=AMP") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/201-000001dc", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/201-000001dc", "dialout-trunk-predial-hook,") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/201-000001dc", "0?bypass,1") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/201-000001dc", "1?customtrunk") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-dialout-trunk,s,21)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:21] Set("SIP/201-000001dc", "pre_num=AMP:extra/5/") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:22] Set("SIP/201-000001dc", "the_num=OUTNUM") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:23] Set("SIP/201-000001dc", "post_num=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/201-000001dc", "1?outnum:skipoutnum") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-dialout-trunk,s,25)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:25] Set("SIP/201-000001dc", "the_num=2258402") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:26] Dial("SIP/201-000001dc", "extra/5/2258402,300,") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Requested transfer capability: 0x00 - SPEECH
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Called 5/2258402
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is proceeding passing it to SIP/201-000001dc
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is making progress passing it to SIP/201-000001dc
[Mar 11 17:31:02] VERBOSE[4157] logger.c: -- PROGRESS with cause code 0 received
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is making progress passing it to SIP/201-000001dc
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is making progress passing it to SIP/201-000001dc
[Mar 11 17:31:15] VERBOSE[7302] logger.c: -- EXTRA/5-1 answered SIP/201-000001dc
[Mar 11 17:31:30] VERBOSE[4157] logger.c: -- Channel 1, span 2 got hangup, cause 16
[Mar 11 17:31:30] ERROR[4157] /usr/src/redhat/SOURCES/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_extra.c line 9311 (gsm_dchannel): mutex '&gsm->pvt->lock' freed more times than we've locked!
[Mar 11 17:31:30] ERROR[4157] /usr/src/redhat/SOURCES/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_extra.c line 9311 (gsm_dchannel): Error releasing mutex: Operation not permitted
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/201-000001dc", "hangupcall,") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/201-000001dc", "1?skiprg") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,4)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/201-000001dc", "1?skipblkvm") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,7)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/201-000001dc", "1?theend") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,9)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/201-000001dc' in macro 'hangupcall'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/201-000001dc'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Hungup 'EXTRA/5-1'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/201-000001dc' in macro 'dialout-trunk'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (from-internal, 92258402, 4) exited non-zero on 'SIP/201-000001dc'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [h@from-internal:1] Macro("SIP/201-000001dc", "hangupcall") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/201-000001dc", "1?skiprg") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,4)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/201-000001dc", "1?skipblkvm") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,7)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/201-000001dc", "1?theend") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,9)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/201-000001dc' in macro 'hangupcall'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/201-000001dc'
[Mar 11 17:31:30] DEBUG[4146] pbx.c: FONALITY: This thread has already held the conlock, skip locking

Question 3

Looking for something like
exten => s,n,playback(pls-wait-connect-call)

how and where would I place in the dial plan when dialing out?
in the audio file is 4 sec and the wait is 12 sec. will the wait appear to be 8 sec or 16 sec when the audio file is included?
13 years 1 month ago #6750 by lisa.gao
Hi,
If possible, would you please give us ssh to check the delay issue?
You can add my MSN: This email address is being protected from spambots. You need JavaScript enabled to view it. or G talk: This email address is being protected from spambots. You need JavaScript enabled to view it.
My email: This email address is being protected from spambots. You need JavaScript enabled to view it.

13 years 1 month ago #6751 by micpet
Due to setup ssh not possible. Any other alternative? What do I need to look for?
13 years 1 month ago #6754 by micpet
Replacing from-gsm with from-pstn on G400P

; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=12
;context=from-gsm
context=from-pstn
signalling = gsm
;pin=1234
channel => 5
context = default
group = 63

this got over written when i ran dahdi_genconf so i did as.

[from-gsm]
include => from-pstn

Thanks
13 years 1 month ago #6755 by lisa.gao
Hi,
Maybe teamviewer is also feasible.
You can add my MSN: This email address is being protected from spambots. You need JavaScript enabled to view it. or G talk: This email address is being protected from spambots. You need JavaScript enabled to view it. for instant exchange.
Yes, if you need to reconfigure channels, your solution is also very reasonable.

Time to create page: 0.044 seconds
Powered by Kunena Forum